<?php
namespace App\Providers;

use App\Repositories\Absence\AbsenceDBRepository;
use App\Repositories\Absence\AbsenceRepository;
use App\Repositories\Attendance\AttendanceDBRepository;
use App\Repositories\Attendance\AttendanceRepository;
use App\Repositories\Egress\EgressDBRepository;
use App\Repositories\Egress\EgressRepository;
use App\Repositories\Home\HomeDBRepository;
use App\Repositories\Home\HomeRepository;
use App\Repositories\Management\ManagementDBRepository;
use App\Repositories\Management\ManagementRepository;
use App\Repositories\Personal\PersonalDBRepository;
use App\Repositories\Personal\PersonalRepository;
use App\Repositories\Summary\SummaryDBRepository;
use App\Repositories\Summary\SummaryRepository;
use App\Repositories\Teambition\TeambitionDBRepository;
use App\Repositories\Teambition\TeambitionRepository;
use App\Repositories\Transportation\TransportationDBRepository;
use App\Repositories\Transportation\TransportationRepository;
use App\Repositories\User\UserDBRepository;
use App\Repositories\User\UserRepository;
use Illuminate\Support\ServiceProvider;

/**
 * Class RepositoryServiceProvider
 * @package App\Providers
 */
class RepositoryServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind(UserRepository::class, UserDBRepository::class);
        $this->app->bind(TransportationRepository::class, TransportationDBRepository::class);
        $this->app->bind(EgressRepository::class, EgressDBRepository::class);
        $this->app->bind(AbsenceRepository::class, AbsenceDBRepository::class);
        $this->app->bind(AttendanceRepository::class, AttendanceDBRepository::class);
        $this->app->bind(ManagementRepository::class, ManagementDBRepository::class);
        $this->app->bind(TeambitionRepository::class, TeambitionDBRepository::class);
        $this->app->bind(PersonalRepository::class, PersonalDBRepository::class);
        $this->app->bind(SummaryRepository::class, SummaryDBRepository::class);
        $this->app->bind(HomeRepository::class, HomeDBRepository::class);

    }

    /**
     * Register Repositories
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
